﻿<UserControl x:Class="ViewSwitchingNavigation.Controls.BusyIndicator"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
        <Rectangle Fill="LightGray" Opacity="0.5"/>
        <Border BorderBrush="Black" BorderThickness="2" HorizontalAlignment="Center" VerticalAlignment="Center">
            <StackPanel Background="White" >
                <TextBlock Margin="20,20,20,10" Name="Message">Sending message...</TextBlock>
                <ProgressBar Margin="20,0,20,20" IsIndeterminate="True" Height="15" Width="200"></ProgressBar>
            </StackPanel>
        </Border>
    </Grid>
</UserControl>
